//
//  HMSideslipHeadView.m
//  HomeView
//
//  Created by manman on 16/9/8.
//  Copyright © 2016年 manman. All rights reserved.
//

#import "HMSideslipHeadView.h"

@implementation HMSideslipHeadView
- (instancetype)initWithFrame:(CGRect)frame
{
if(self = [super initWithFrame:frame])
{
    self = [[NSBundle mainBundle] loadNibNamed:@"HMSideslipHead" owner:nil options:nil].lastObject;

    [self setupUI];
}

    return self;
}
- (void)awakeFromNib
{
    [super awakeFromNib];
    [self setupUI];
    self.backgroundColor = [UIColor clearColor];
}
- (void)setupUI
{
    self.userIcon.layer.cornerRadius = 41;
    self.userIcon.layer.masksToBounds = YES;

}

@end
